#ifndef DLGMODIFYINFO_H
#define DLGMODIFYINFO_H
#include "sql.h"
#include <QDialog>

namespace Ui {
class DlgModifyInfo;
}

class DlgModifyInfo : public QDialog
{
    Q_OBJECT

public:
    explicit DlgModifyInfo(QWidget *parent = nullptr);
    ~DlgModifyInfo();

    void showInfo(QMap<QString, QString> infoMap);

private slots:
    void on_ptnModConfirm_clicked();

    void on_penModCancel_clicked();

signals:
    void modifyConfirm(EbookInfo bookInfo);

private:
    Ui::DlgModifyInfo *ui;
    EbookInfo m_bookInfo;
};

#endif // DLGMODIFYINFO_H
